package com.example.matchingengine.service.model;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单簿快照
 * 用于订单簿数据的持久化和恢复
 */
@Data
public class OrderBookSnapshot {
    private String symbol;
    private List<OrderSnapshot> buyOrders = new ArrayList<>();
    private List<OrderSnapshot> sellOrders = new ArrayList<>();
}